package cn.itcast.nems.product.scheduler;

import cn.itcast.nems.product.dao.dataobject.ProductDO;
import cn.itcast.nems.product.dao.dataobject.TuitionFeeDO;

import java.time.LocalDateTime;

/**
 * author: yong.li
 * create: 2023-09-07 10:29:30
 **/
@FunctionalInterface
public interface PriceRuleIntervalConsumer {

    void accept(ProductDO product,
                TuitionFeeDO tuitionFee,
                LocalDateTime feeEffectiveDatetime,
                LocalDateTime feeExpireDatetime);
}
